const getters = {
  device: state => state.app.device,
  theme: state => state.app.theme,
  color: state => state.app.color,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  nickname: state => state.user.name,
  welcome: state => state.user.welcome,
  roles: state => state.user.roles,
  userInfo: state => state.user.info,
  addRouters: state => state.permission.addRouters,
  multiTab: state => state.app.multiTab,
  lang: state => state.i18n.lang,
  taskVisible: state => state.app.taskVisible,
  taskOverlay: state => state.app.taskOverlay,
  taskQueuesList: state => state.app.taskQueuesList,

  // 从后台获取的用户 按钮权限
  buttons: state => state.user.buttons,
  userId: state => state.user.userId,
  companyName: state => state.user.company.companyName,
  logo: state => state.user.company.logo,
  myTeam: state => state.user.myTeam,
  currCompId: state => state.user.currCompId,
  admin: state => state.user.admin,
  sysConfig: state => state.user.sysConfig,
  basicsInfo: state => state.user.basicsInfo,
  loginTitle: state => state.user.loginTitle,
  userType: state => state.user.userType,
  settIngSchoolCurrent: state => state.app.settIngSchoolCurrent,
  headquartersSetting: state => state.app.headquartersSetting,

  groupList: state => state.operate.groupList,
  belongId: state => state.operate.belongId,

  albumList: state => state.operate.albumList,
  albumId: state => state.operate.albumId,
  albumInfo: state => state.operate.albumInfo,
  albumTotal: state => state.operate.albumTotal,
  isAlbumDel: state => state.operate.isAlbumDel,
  albumCurrent: state => state.operate.albumCurrent,
  albumSize: state => state.operate.albumSize,
  photoSize: state => state.operate.photoSize,
  photoList: state => state.operate.photoList,
  photoTotal: state => state.operate.photoTotal,
  isPhotoBatchDel: state => state.operate.isPhotoBatchDel,
  photoDelIds: state => state.operate.photoDelIds,
  photoCurrent: state => state.operate.photoCurrent
}

export default getters
